import { NgModule } from '@angular/core';

import { SharedModule } from '@shared';
import { RouteRoutingModule } from './routes-routing.module';
// dashboard pages
import { DashboardV1Component } from './dashboard/v1/v1.component';
import { DashboardAnalysisComponent } from './dashboard/analysis/analysis.component';
import { DashboardMonitorComponent } from './dashboard/monitor/monitor.component';
import { DashboardWorkplaceComponent } from './dashboard/workplace/workplace.component';
// passport pages
import { UserLoginComponent } from './passport/login/login.component';
import { UserRegisterComponent } from './passport/register/register.component';
import { UserRegisterResultComponent } from './passport/register-result/register-result.component';
// single pages
import { UserLockComponent } from './passport/lock/lock.component';
import { CallbackComponent } from './callback/callback.component';
import { WlblockComponent } from './mypro/wlblock/wlblock.component';
import { ItemOneComponent } from './mypro/item-one/item-one.component';
import { ItemTwoComponent } from './mypro/item-two/item-two.component';
import { ItemThreeComponent } from './mypro/item-three/item-three.component';
import { ItemFourComponent } from './mypro/item-four/item-four.component';
import { ItemFiveComponent } from './mypro/item-five/item-five.component';
import { ItemSixComponent } from './mypro/item-six/item-six.component';
import { ItemSevenComponent } from './mypro/item-seven/item-seven.component';

const COMPONENTS = [
  DashboardV1Component,
  DashboardAnalysisComponent,
  DashboardMonitorComponent,
  DashboardWorkplaceComponent,
  // passport pages
  UserLoginComponent,
  UserRegisterComponent,
  UserRegisterResultComponent,
  // single pages
  UserLockComponent,
  CallbackComponent,
];
const COMPONENTS_NOROUNT = [];

@NgModule({
  imports: [SharedModule, RouteRoutingModule],
  declarations: [...COMPONENTS, ...COMPONENTS_NOROUNT, WlblockComponent, ItemOneComponent, ItemTwoComponent, ItemThreeComponent, ItemFourComponent, ItemFiveComponent, ItemSixComponent, ItemSevenComponent],
  entryComponents: COMPONENTS_NOROUNT,
})
export class RoutesModule {}
